package com.yum.web;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Package: com.yum.web
 * Description： 主启动类
 * Author: Forest
 * Date: Created in 2021/3/27 21:15
 * Version: 0.0.1
 * Modified By: duforest
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.yum"})
@MapperScan("com.yum.system.mapper")
public class YumPlusApplication {
    private static final Logger log = LoggerFactory.getLogger(YumPlusApplication.class);

    public static void main(String[] args) {
        log.info("YumPlusApplication开始启动");
        SpringApplication.run(YumPlusApplication.class, args);
        log.info("YumPlusApplication启动成功");
    }

}
